﻿@model Web.Models.TagDto

<h3>Creating a normal tag</h3>

@using(Html.BeginForm("CreateNormal", "Tag", FormMethod.Post, new {encrypt = "multipart/form-data"}))
    {
        @Html.ValidationSummary(true)
        <fieldset>
            @Html.LabelFor(m => m.Name)
            @Html.EditorFor(m => m.Name)<br/>
            
            @{Html.RenderPartial("_PartialParentSelector");}

            @Html.LabelFor(m => m.Unit)
            @Html.DropDownListFor(m => m.Unit, new SelectList(new[] { new { Name = "UNKNOWN" } }, "Name", "Name"))<br />
            <input type="submit" value="Submit"/>
        </fieldset>
    }